package com.quick.system.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.quick.common.annotation.Excel;
import com.quick.common.core.domain.BaseEntity;
/**
 * 值班排班对象 duty_schedule
 * 
 * @author quick
 * @date 2025-01-03
 */
public class DutySchedule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 排班编号 */
    private Long id;

    /** 值班开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "值班开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 值班结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "值班结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 科室id */
    @Excel(name = "科室id")
    private Long roomId;

    /** 值班通知信息 */
    private List<DutyNotice> dutyNoticeList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }


    public void setRoomId(Long roomId) 
    {
        this.roomId = roomId;
    }

    public Long getRoomId() 
    {
        return roomId;
    }

    public List<DutyNotice> getDutyNoticeList()
    {
        return dutyNoticeList;
    }

    public void setDutyNoticeList(List<DutyNotice> dutyNoticeList)
    {
        this.dutyNoticeList = dutyNoticeList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("roomId", getRoomId())
            .append("dutyNoticeList", getDutyNoticeList())
            .toString();
    }
}
